package nadyne;

import org.scribe.model.Token;

import java.util.Date;

public class GoogleApi20Token  extends Token {

    private final Date expiry;

    public GoogleApi20Token(java.lang.String token, java.lang.String secret, Date expiry, java.lang.String rawResponse) {
        super(token, secret, rawResponse);
        System.out.println("inside nadyne.GoogleApi20Token");
        this.expiry = expiry;
    }

    public Date getExpiry() {
        return new Date(expiry.getTime());
    }

}
